package com.zhonghui.wms.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zhonghui.wms.mapper.WmsCarrierApplicationMapper;
import com.zhonghui.wms.domain.vo.WmsCarrierApplicationVo;
import com.zhonghui.wms.service.IWmsCarrierApplicationService;

/**
 * 智能仓储WMS-运输管理-承运申请Service业务层处理
 * 
 * @author qiezi
 * @date 2023-12-22
 */
@Service
public class WmsCarrierApplicationServiceImpl implements IWmsCarrierApplicationService 
{
    @Autowired
    private WmsCarrierApplicationMapper wmsCarrierApplicationMapper;

    /**
     * 查询智能仓储WMS-运输管理-承运申请
     * 
     * @param id 智能仓储WMS-运输管理-承运申请主键
     * @return 智能仓储WMS-运输管理-承运申请
     */
    @Override
    public WmsCarrierApplicationVo selectWmsCarrierApplicationById(String id)
    {
        return wmsCarrierApplicationMapper.selectWmsCarrierApplicationById(id);
    }

    /**
     * 查询智能仓储WMS-运输管理-承运申请列表
     * 
     * @param wmsCarrierApplication 智能仓储WMS-运输管理-承运申请
     * @return 智能仓储WMS-运输管理-承运申请
     */
    @Override
    public List<WmsCarrierApplicationVo> selectWmsCarrierApplicationList(WmsCarrierApplicationVo wmsCarrierApplication)
    {
        return wmsCarrierApplicationMapper.selectWmsCarrierApplicationList(wmsCarrierApplication);
    }

    /**
     * 新增智能仓储WMS-运输管理-承运申请
     * 
     * @param wmsCarrierApplication 智能仓储WMS-运输管理-承运申请
     * @return 结果
     */
    @Override
    public int insertWmsCarrierApplication(WmsCarrierApplicationVo wmsCarrierApplication)
    {
        return wmsCarrierApplicationMapper.insertWmsCarrierApplication(wmsCarrierApplication);
    }

    /**
     * 修改智能仓储WMS-运输管理-承运申请
     * 
     * @param wmsCarrierApplication 智能仓储WMS-运输管理-承运申请
     * @return 结果
     */
    @Override
    public int updateWmsCarrierApplication(WmsCarrierApplicationVo wmsCarrierApplication)
    {
        return wmsCarrierApplicationMapper.updateWmsCarrierApplication(wmsCarrierApplication);
    }

    /**
     * 批量删除智能仓储WMS-运输管理-承运申请
     * 
     * @param ids 需要删除的智能仓储WMS-运输管理-承运申请主键
     * @return 结果
     */
    @Override
    public int deleteWmsCarrierApplicationByIds(String[] ids)
    {
        return wmsCarrierApplicationMapper.deleteWmsCarrierApplicationByIds(ids);
    }

    /**
     * 删除智能仓储WMS-运输管理-承运申请信息
     * 
     * @param id 智能仓储WMS-运输管理-承运申请主键
     * @return 结果
     */
    @Override
    public int deleteWmsCarrierApplicationById(String id)
    {
        return wmsCarrierApplicationMapper.deleteWmsCarrierApplicationById(id);
    }
}
